.class Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13$1;
.super Ljava/lang/Object;
.source "TrackDialogs.java"

# interfaces
.implements Llt/noframe/gpsfarmguide/PermissionsCallbacker$OnPermissionResult;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;->onClick(Landroid/content/DialogInterface;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;)V
    .locals 0

    .line 341
    iput-object p1, p0, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13$1;->this$1:Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPermissionResult(I[Ljava/lang/String;[I)Z
    .locals 0

    const/16 p2, 0x630

    if-ne p1, p2, :cond_1

    .line 345
    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object p1

    const-string p2, "android.permission.WRITE_EXTERNAL_STORAGE"

    invoke-static {p1, p2}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I

    move-result p1

    if-nez p1, :cond_0

    .line 346
    iget-object p1, p0, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13$1;->this$1:Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;

    iget-object p2, p1, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;->this$0:Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;

    iget-object p1, p1, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$13;->val$track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    invoke-static {p2, p1}, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;->access$000(Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;)V

    :cond_0
    const/4 p1, 0x1

    return p1

    :cond_1
    const/4 p1, 0x0

    return p1
.end method
